package com.ssn.strategy.book;

public class ComputerStrategyFactory extends StrategyFactory {
    private static ComputerStrategyFactory instance = null;
    private ComputerStrategyFactory(){}
    public static ComputerStrategyFactory getInstance(){
        if (instance == null){
            instance = new ComputerStrategyFactory();
        }
        return instance;
    }
    @Override
    Strategy createStrategy() {
        return new ComputerStrategy();
    }
}
